From e6429d95481c92209ce0e114a23205b7c79446a9 Mon Sep 17 00:00:00 2001 From: Morten Welinder Date: Mon, 2 Aug 2004 16:12:10 +0000 Subject: [PATCH] C99ism. 2004-08-02 Morten Welinder * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkentry.c | 7 ++++--- 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 975a810e0b..68265e5977 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-08-02 Morten Welinder + + * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism. + Mon Aug 2 01:30:03 2004 Matthias Clasen * gtk/gtktextview.[hc]: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 975a810e0b..68265e5977 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2004-08-02 Morten Welinder + + * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism. + Mon Aug 2 01:30:03 2004 Matthias Clasen * gtk/gtktextview.[hc]: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 975a810e0b..68265e5977 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2004-08-02 Morten Welinder + + * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism. + Mon Aug 2 01:30:03 2004 Matthias Clasen * gtk/gtktextview.[hc]: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 975a810e0b..68265e5977 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2004-08-02 Morten Welinder + + * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism. + Mon Aug 2 01:30:03 2004 Matthias Clasen * gtk/gtktextview.[hc]: diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index d82ea697af..b4a08d8ff6 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -531,7 +531,7 @@ gtk_entry_class_init (GtkEntryClass *class) TRUE, G_PARAM_READABLE | G_PARAM_WRITABLE)); - g_object_class_install_property (gobject_class, + g_object_class_install_property (gobject_class, PROP_INVISIBLE_CHAR, g_param_spec_unichar ("invisible_char", P_("Invisible character"), @@ -1609,9 +1609,10 @@ gtk_entry_motion_notify (GtkWidget *widget, { GdkDragContext *context; GtkTargetList *target_list = gtk_target_list_new (NULL, 0); - gtk_target_list_add_text_targets (target_list); guint actions = entry->editable ? GDK_ACTION_COPY | GDK_ACTION_MOVE : GDK_ACTION_COPY; - + + gtk_target_list_add_text_targets (target_list); + context = gtk_drag_begin (widget, target_list, actions, entry->button, (GdkEvent *)event); -- 2.30.2